<?php

namespace app\shop\enums\coupon;

use app\shop\enums\BaseEnum;

class CouponDiscountType extends BaseEnum
{
    /**
     * 折扣金额
     */
    const DISCOUNT_AMOUNT = 1;

    /**
     * 折扣比例
     */
    const DISCOUNT_RATIO = 2;

    protected static array $descriptions = [
        self::DISCOUNT_AMOUNT => '折扣金额',
        self::DISCOUNT_RATIO  => '折扣比例',
    ];
}